Padding

Consistent spacing creates visual balance that makes the user interface (UI) easier for merchants to scan. Apply consistent spacing to improve the quality of the UI.


Padding on cards and modals is globally 20px on breakpoints 480px and above and 10px below 480px

modal padding

card padding


Spacing

Consistent spacing creates visual balance that makes the user interface (UI) easier for merchants to scan. Apply consistent spacing to improve the quality of the UI.

In People First we use spacing of 5px, 10px, 15px and 20px in most cases. Mobile view will usually have smaller padding than on desktop.


An example of 20px spacing in the System

20px padding is used between cards and elements that are not closely related, this gives the elements breathing room so the page isn't too busy

20px spacing


An example of 15px in the System

15px spacing


An example of 10px in the System

10px padding is used for elements that are related and grouped together 10px spacing